<#include "../head.ftl">
<div class="page_title">产品查询</div>
<div class="button_bar">
	<button class="common_button" onclick="help('');">帮助</button>
	<button class="common_button" onclick="document.forms[0].submit();">查询</button>  
</div>
<form id="searchForm" action="${url}" method="get">
	<table class="query_form_table">
		<tr>
			<th>名称</th>
			<td><input type="text" name="name"/></td>
			<th>型号</th>
			<td><input type="text" name="version"/></td>
			<th>批次</th>
			<td><input type="text" name="batch"/></td>
		</tr>
	</table>
	<input type="hidden" id="number" name="number" value=""/>
</form>
<br />

<table class="data_list_table">
	<tr>
		<th>编号</th>
		<th>名称</th>
		<th>型号</th>
		<th>等级/批次</th>
		<th>单位</th>
		<th>单价（元）</th>
		<th>备注</th>
	</tr>
	<#list page.content as product>
		<tr>
		<td class="list_data_number">${product.id}</td>
		<td class="list_data_ltext">${product.name}</td>
		<td class="list_data_text">${product.version}</td>
		<td class="list_data_text">${product.grade} ${product.batch}</td>
		<td class="list_data_text">${product.unit}</td>
		<td class="list_data_number">${product.price}</td>
		<td class="list_data_ltext">${product.remarks}&nbsp;</td>		
	</tr>
	</#list>
	<tr>
		<th colspan="100" class="pager">
<#include "../foot.ftl">